<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>我是首页</title>
    <link rel="icon" href="/static/favicon.ico" type="image/x-icon">
    <script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
</head>
<body>
<div style="margin-left: 200px">
    <h3>最最最最牛哄哄的10个人</h3>
    <table border="1px" cellpadding="0px" cellspacing="0px">
        <thead>
        <th>选择</th>
        <th>序号</th>
        <th>名字</th>
        <th>出处</th>
        <th>性别</th>
        <th>声优</th>
        </thead>
        <tbody>
        <tr th:each="people, loopStatus:${peopleList}">
            <td><input type="checkbox" th:value="${people.getId()}"></td>
            <td th:text="${loopStatus.index + 1}"></td>
            <td th:text="${people.getName()}"></td>
            <td th:text="${people.getProvenance().getName()}"></td>
            <td th:text="${people.getSex()}"></td>
            <td th:text="${people.getCv().getName()}"></td>
            <td><a th:href="@{/people/get(id=${people.getId()})}">编辑文章属性</a></td>
        </tr>
        <tr>
            <td colspan="8">
                <table width="100%">
                    <tr>
                        <td><button id="add">添加新人</button></td>
                        <td><button>删除某人</button></td>
                        <td><button>具体信息</button></td>
                    </tr>
                </table>
            </td>
        </tr>
        </tbody>
    </table>
</div>
</body>
</html>